<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport"
          content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" type="text/css" href="css/index.css">

    <script type="text/javascript">



    window.uexOnload = function(type){
        if(type == 0){
            uexScanner.cbOpen = function (opId,dataType,data){
                alert(data);
            }
        }
    }
    function setJsonData(){
        var jsonData={
            tipLabel:"wwwwwwwwwwwww",
            title:"saoyixia"
        }
        uexScanner.setJsonData(JSON.stringify(jsonData));
    }
    </script>
</head>

<body>
    <div class="tit">uexScanner</div>
        <div class="conbor">
            <div class="consj">
                <input class='btn' type='button' value='open' onclick='uexScanner.open()'/>
                <input class='btn' type='button' value='setJsonData' onclick='setJsonData()'/>
            </div>
        </div>
    </div>
</body>
</html>
